<template>
      <div class="editor-ad-hide" :class="{'editor-ad-show':active}" >
                <Icon type="md-arrow-round-up" @click="operation(1)" />
                <Icon type="md-arrow-round-down" @click="operation(2)" />
                <Icon type="md-trash" @click="operation(3)" />
      </div>
</template>

<script>
export default {
  props:['active'],
   methods:{
       operation(d){
           this.$emit("control",d)
       },

    }
}
</script>
